package business;

public class ValidationError {

	private Long id;
	private CompanyPoll companyPoll;
	private Validation validation;
	private ValidationReason validationReason;
	private String observations;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
		
	public CompanyPoll getCompanyPoll() {
		return companyPoll;
	}

	public void setCompanyPoll(CompanyPoll companyPoll) {
		this.companyPoll = companyPoll;
	}

	public Validation getValidation() {
		return validation;
	}

	public void setValidation(Validation validation) {
		this.validation = validation;
	}

	public String getObservations() {
		return observations;
	}

	public void setObservations(String observations) {
		this.observations = observations;
	}

	public ValidationReason getValidationReason() {
		return validationReason;
	}

	public void setValidationReason(ValidationReason validationReason) {
		this.validationReason = validationReason;
	}
	
	public ValidationError(Long id, CompanyPoll companyPoll,
			Validation validation, ValidationReason validationReason,
			String observations) {
		super();
		this.id = id;
		this.companyPoll = companyPoll;
		this.validation = validation;
		this.validationReason = validationReason;
		this.observations = observations;
	}

	public ValidationError() {
		super();
	}

}
